package com.lxit.service.impl;

import com.lxit.dao.AdminMapper;
import com.lxit.pojo.Admin;
import com.lxit.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    AdminMapper adminMapper;

    public boolean login(String name, String pass, int usertype) {
        System.out.println(adminMapper);
        return false;
    }

    public boolean add(Admin admin) {
        return false;
    }
}
